<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="../css/docs.css" type="text/css" rel="stylesheet" />
<link href="../css/prettify.css" type="text/css" rel="stylesheet" />
<script src="../js/prettify.js" type="text/javascript"></script>
</head>
<body onLoad="prettyPrint()">
<div class="g-unit" id="doc-content">
<div id="api-info-block">
<div class="api-level">H3C CAS云管理平台</div>
</div>
<div id="jd-header">
<h1>删除集群</h1>
</div>
<div id="jd-content">
<div class="jd-descr">
<p>删除指定id的集群。</p>
<h2><a name="uri"></a>接口 URI</h2>
<p>/cas/casrs/cluster/delete/{id : \\d+}</p>
<h2><a name="access"></a>访问方法</h2>
<dl>
  <dt><b>HTTP 方法</b></dt>
  <dd>DELETE</dd>
  <dt><b>消息体</b></dt>
  <div class="source">
  	<pre class="prettyprint lang-xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;taskMsg&gt;<br>  &lt;msgId&gt;1410943942352&lt;/msgId&gt;<br>  &lt;completed&gt;false&lt;/completed&gt;<br>  &lt;progress&gt;0&lt;/progress&gt;<br>  &lt;eventType&gt;0&lt;/eventType&gt;<br>&lt;/taskMsg&gt;  	</pre>
  </div>
</dl>
<dt><a name="detail"></a><b>元素含义</b></dt>
<table class="jd-sumtable" id="pubmethods">
  <tbody>
    <tr>
      <th colspan="2"><span class="prettyprint lang-xml">taskMsg</span>各子元素</th>
	<tr class="alt-color">
      <td class="jd-typecol"><span class="prettyprint lang-xml">msgId</span></td>
	  <td class="jd-linkcol"><span class="sympad"></span>消息ID。

          <div class="jd-descrdiv">整数（Lomg）类型。</div></td>
	  </tr>
	<tr>
      <td class="jd-typecol"><span class="prettyprint lang-xml">completed</span></td>
      <td class="jd-linkcol" width="100%"><span class="sympad">任务是否完成。</span>
          <div class="jd-descrdiv">布尔（Boolean）类型。</div></td>
    </tr>
	<tr class="alt-color">
      <td class="jd-typecol"><span class="prettyprint lang-xml">eventType</span></td>
	  <td class="jd-linkcol"><span class="sympad">事件类型。。</span>
	    <div class="jd-descrdiv">整型（Int）类型。</div></td>
	  </tr>
    <tr>
      <td class="jd-typecol"><span class="prettyprint lang-xml">progress</span></td>
      <td class="jd-linkcol" width="100%"><span class="sympad"></span>进度。
          <div class="jd-descrdiv">整型（Int）类型。</div></td>
    </tr>
</table>

<h2><a name="result"></a>返回结果</h2>
<dl>
  <dt><b>状态码</b></dt>
  <dd>
  <ul>
    <li>200(OK)：成功。</li>
  </ul>
  </dd>
  <dt><b>消息头</b></dt>
  <br>
  <pre class="prettyprint lang-xml">HTTP/1.1 200 OK<br>Content-Type: application/xml<br>Content-Length: 176<br>Date: Thu, 18 Sep 2014 01:38:49 GMT<br>Server: H3C-CVM</pre>
</dl>

<h2><a name="example"></a>应用举例</h2>
    <p>1.删除id为113的集群。</p>
    <dl>
      <dt><b>请求</b></dt>
      <div class="source">
        <pre class="prettyprint lang-xml">DELETE http://localhost:8080/cas/casrs/cluster/delete/113
accept: application/xml    </pre>
      </div>
      <dt><b>回应</b></dt>
      <div class="source"><pre class="prettyprint lang-xml">HTTP/1.1 200 OK<br>Content-Type: application/xml<br>Content-Length: 176<br>Date: Wed, 17 Sep 2014 07:59:11 GMT<br>Server: H3C-CVM
...<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;taskMsg&gt;<br>  &lt;msgId&gt;1410943942352&lt;/msgId&gt;<br>  &lt;completed&gt;&lt;/completed&gt;<br>  &lt;progress&gt;0&lt;/progress&gt;<br>  &lt;eventType&gt;0&lt;/eventType&gt;<br>&lt;/taskMsg&gt;<br></pre>
      </div>
    </dl>
</div>
</div>
</div>
</body>
</html>